package mall.service;

import mall.dao.MemberPositionDAO;
import mall.pojo.Memberposition;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class MemberPositionServiceImpl implements MemberPositionService {
	
	@Autowired
	private MemberPositionDAO memberPositionDAO;

	@Override
	@Transactional
	public Memberposition getMemberPosition(int positionId) {
		return memberPositionDAO.getMemberPosition(positionId);
	}
}
